package com.ray.activiti.enums;

/**
 * 业务类型
 * @author ray
 *
 */
public enum RunType {
	  CONDITION("CONDITION","条件"),
	  APPLY("APPLY","审批"),
	  CANCAL("CANCEL","取消"),
	  BACK("BACK","驳回"),
	  START("START","开始"),
	  END("END","结束"),
	  BACK_START_USER("BACK_START_USER","驳回到发起人");
	  /**类型**/
	  private String type;
	  /**类型名称**/
	  private String name;
	  
	  private RunType(String type,String name) {
		this.type = type;
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
